/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.sd.chat;

import java.util.Vector;

/**
 *
 * @author Old
 */
public interface ClientHandlerInterface {

    void addMsg(TCPMsg newMsg);

    Utilizador getLoggedUser();

    boolean isLogged();

    void setLogged(boolean logged);

    void setLoggedUser(Utilizador loggedUser);
    
    Vector<TCPMsg> getSendQueue();
    
    void setSendQueue(Vector<TCPMsg> backupSendQueue);
    
    void setShutdown(boolean shutdown);
    
    boolean canAddMsg();
    
}
